﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BW.WMS.BasicData_LC.Dto.Input;
using BW.WMS.BasicData_LC.Dto.OutPut;
using BW.WMS.CodeEnum;
using BW.WMS.LC.Dto.OutPut;
using BW.WMS.Model;
using Volo.Abp.Application.Services;

namespace BW.WMS.BasicData_LC
{
    /// <summary>
    /// 库位接口
    /// </summary>
    public interface ILocationAppService:IApplicationService
    {
        /// <summary>
        /// 新增库位
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        public Task<ApiResult<int>>  AddLocation(List<AddUpdateLibrarylocationInput> input);

        /// <summary>
        /// 更新库位
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        public Task<ApiResult<int>> UpdateLocation(AddUpdateLibrarylocationInput input);

        /// <summary>
        /// 删除库位
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public Task<ApiResult<int>> DeleteLocation(List<string> id);

        /// <summary>
        /// 获取库位列表
        /// </summary>
        /// <param name="ouput"></param>
        /// <returns></returns>
        public Task<ApiPaging<LibrarylocationDto>> GetLocationList(LibrarylocationOuput  ouput);


        /// <summary>
        /// 进货单
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        public Task<ApiResult<int>> AddMe_PurchaseHd(AddMe_PurchaseHdInput input);
        /// <summary>
        /// 进货单显示
        /// </summary>
        /// <returns></returns>
        public Task<ApiResult<List<Me_PurchaseHdDto>>> GetMe_PurchaseDtl();
        /// <summary>
        /// 库位下拉框
        /// </summary>
        /// <returns></returns>
        public Task<ApiResult<List<LibrarylocationDto>>> GetLibraryLocation();
        /// <summary>
        /// 仓库下拉框
        /// </summary>
        /// <returns></returns>
        public Task<ApiResult<List<WareHouseDto>>> GetWarehouse();
        /// <summary>
        /// 出入库类型
        /// </summary>
        /// <returns></returns>
        public Task<ApiResult<List<CodeDto>>> GetCodeList();


    }
}
